<template>
  <div class="header">
    <span class="iconfont iconjiantou2" @click="$router.back()"></span>
    <div class="title">{{title}}</div>
  </div>
</template>

<script>
export default {
  props: ["title"]
};
</script>

<style lang='less' scoped>
.header {
  display: flex;
  justify-content: space-between;
  height: 13.889vw;
  line-height: 13.889vw;
}
.iconfont {
  padding: 0 2.778vw;
}
.title {
  padding-right: 11.111vw;
  flex: 1;
  text-align: center;
  font-weight: bold;
}
</style>
